﻿@{
    ViewBag.Title = "PluginTest";
    Layout = "~/Views/Shared/_Page.cshtml";
}

<h2>custom jQuery function</h2>
<br />
<h3>Path: @ViewBag.Path</h3>
<br />
<h3>See the result on console</h3>
<br />

<p id='myText'>Append the text here!</p>
<input id="btnAppend" type="button" value="Append" />
<hr />
Result:
<div id="result"></div>

<script type="text/javascript">
    $(document).ready(function () {
        $('#btnAppend').click(function () {
            $.appendHtml('#result', '#myText');
        });
    });
</script>

<script type="text/javascript" src="/JS/Demo/Plugin/pluginDemo.js"></script>
